package Text.Text002;

public class Cat extends Pet{
    public Cat(String name) {
        super(name);
    }

    public void eat(){
        System.out.println("小猫爱吃鱼干");
    }

    public void play(){
        System.out.println("猫可以抓老鼠！");
    }
}
